package com.cmict.data.infra.convert.consult;

import java.util.*;

import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmict.data.infra.controller.admin.consult.vo.*;
import com.cmict.data.infra.dal.dataobject.consult.ConsultDO;

/**
 * 咨询管理 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ConsultConvert {

    ConsultConvert INSTANCE = Mappers.getMapper(ConsultConvert.class);

    ConsultDO convert(ConsultCreateReqVO bean);

    ConsultDO convert(ConsultUpdateReqVO bean);

    ConsultRespVO convert(ConsultDO bean);

    List<ConsultRespVO> convertList(List<ConsultDO> list);

    PageResult<ConsultRespVO> convertPage(PageResult<ConsultDO> page);

    List<ConsultExcelVO> convertList02(List<ConsultDO> list);

}
